package Bridge.one;

/**
 * @ProjectName: 23种设计模式
 * @Package: Bridge.one
 * @ClassName: GG
 * @Author: renhan
 * @Description:
 * @Date: 2020/11/24 12:35
 * @Version: 1.0
 */
public class GG {
    public void chase(MM mm) {
        Gift g = new WarmGift(new Flower());
        give(mm, g);
    }

    public void give(MM mm, Gift g){
        System.out.println(g+"gived!");
    }
}
